TActivator.CreateInstance(TRttiInstanceType,TRttiMethod,TValue[]) Method

Represents method CreateInstance(TRttiInstanceType,TRttiMethod,TValue[]).

Namespace: Spring
public
 class function CreateInstance(const classType: TRttiInstanceType;
 const constructorMethod: TRttiMethod; const arguments: array of TValue): TValue; overload; static;

Parameters

classType
Type: TRttiInstanceType

constructorMethod
Type: TRttiMethod

arguments
Type: array of TValue

Return Value

Type: TValue